package com.platform.module.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.platform.module.domain.LinkConcentratorValve;
import com.platform.system.domain.SysUserRole;

/**
 * 集中器和阀门关联Mapper接口
 *
 * @author wangqi
 * @date 2020-08-01
 */
public interface LinkConcentratorValveMapper extends BaseMapper<LinkConcentratorValve>
{
    /**
     * 批量新增阀门采集器对应信息
     *
     * @param concentratorValveList 阀门采集器对应列表
     * @return 结果
     */
    public int batchConcentratorValve(List<LinkConcentratorValve> concentratorValveList);

    /**
     * 修改阀门采集器对应关系
     *
     * @param linkConcentratorValve 阀门采集器对应
     * @return 结果
     */
    public int updateConcentratorValve(LinkConcentratorValve linkConcentratorValve);
}
